.mr10 {
  margin-right: 10px;
}

.example-viewer {
  &-wrapper {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    margin-top: 64px;
    color: #1a1a1a;
  }

  &-title {
    margin-bottom: 8px;
    font-size: 24px;
    line-height: 30px;
    font-weight: 400;
  }

  &-description {
    margin-bottom: 16px;
  }

  &-content {
    border: 1px solid #e6e6e6;
    border-radius: 4px;
  }

  &-body {
    padding: 32px 40px;
    overflow: hidden;
  }
}

.example-viewer-code {
  padding: 24px 40px;
  background: #f9f9fa;
  overflow: hidden;
  & a {
    text-decoration: none;
    cursor: pointer;
  }

  &-icon-content {
    display: flex;
    height: 56px;
    align-items: center;
    padding: 0 40px;

    > i {
      width: 24px;
      height: 24px;
      &.example-viewer-code-show {
        color: #2673e5;
      }
    }
  }
}

.example-viewer-code-panel {
  margin-top: 24px;
  overflow: auto;
}

.example-viewer-code pre[class*='language-'] {
  margin: 0 0 !important;
  border-radius: 0 !important;
  background: none;
  line-height: 1.5;
  &::before,
  &::after {
    box-shadow: none;
  }
}

.example-viewer-code-copy {
  width: 24px;
  height: 24px;
  margin-left: 16px;
}
